package com.xiaoshuidi.cloud.module.report.dal.DO.report;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@TableName(value = "report_detail_in_fees", autoResultMap = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ReportDetailInFeesDO {
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /**
     * 明细表主键id
     */
    private Long detailId;

    /**
     * 费项编号
     */
    private String feeCode;
    /**
     * 费项名称
     */
    private String feeName;
    /**
     * 金额
     */
    private BigDecimal amount;
    /**
     * 优惠金额
     */
    private BigDecimal discountAmount;
    /**
     * 统计日期 截止到月
     */
    private String statisticsMonth;
    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    private Long tenantId;
}
